# $Id: PKGBUILD 62353 2012-01-19 16:06:20Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com>
# Contributor: Philippe LUC <philfifi@gmail.com>

pkgname=perl-time-modules
pkgver=2011.0517
pkgrel=1
pkgdesc='Perl time related module'
url="http://search.cpan.org/~muir/Time-modules-$pkgver/"
license=('GPL' 'PerlArtistic')
options=('!emptydirs')
arch=('any')
source=("http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Time-modules-$pkgver.tar.gz")
md5sums=('67204ebc06211a877665765f91dc4e51')

build() {
  cd Time-modules-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd Time-modules-$pkgver
  make install DESTDIR="$pkgdir/"
}

# vim:set ts=2 sw=2 ft=sh et:
